<?php
/**
 * Created by PhpStorm.
 * User: chenzhitao
 * Date: 2018/4/26
 * Time: 下午6:04
 */

namespace App\Busi\Modules\Resource;


use App\Busi\Modules\BaseBusi;
use App\Busi\Traits\NewsIndexTrait;
use App\Http\Requests\NewsListRo;

class NewsListBusi extends BaseBusi
{
    use NewsIndexTrait;
    public function handle(NewsListRo $ro){
        $page = $ro->page;
        $subcategory_id = $ro->subcategory_id;
        return $this->getNewsList($page,$subcategory_id);
    }

}